package demo

import (
	v1 "gitee.com/enzolwb/my-web-scaffold/api/v1"
	"github.com/gin-gonic/gin"
)

func TagRouteRegister(group *gin.RouterGroup) {
	//获取标签列表
	group.GET("/tags", v1.GetTags)
	//新建标签
	group.POST("/tags", v1.AddTag)
	//更新指定标签
	group.PUT("/tags/:id", v1.EditTag)
	//删除指定标签
	group.DELETE("/tags/:id", v1.DeleteTag)

}
